// 后台控制器示例
@Controller
@RequestMapping("/backstage/product")
public class ProductController {
    @Autowired
    private ProductService productService;
    
    @RequestMapping("/all")
    public ModelAndView all(@RequestParam(defaultValue = "1") int page,
            @RequestParam(defaultValue = "5") int size) {
        // 处理后台管理请求
    }
}

// 前台控制器示例
@Controller
@RequestMapping("/frontdesk/product")
public class FrontdeskProductController {
    @Autowired
    private ProductService productService;
    
    @RequestMapping("/routeList")
    public ModelAndView findProduct(Integer cid,
            String productName,
            @RequestParam(defaultValue = "1") int page,
            @RequestParam(defaultValue = "10") int size) {
        // 处理前台展示请求
    }
}